package com.rivercloud.dao;

import java.util.List;

import com.rivercloud.entity.Project;
import com.rivercloud.entity.User;

public interface ProjectDao {

	void addProject(Project project);

	int findIdByName(String projectName);

	Project checkProjectName(String projectName);

	List<Project> findProjects();
	
	
	List<Project> findFinishProjects();
	
	
	List<Project> findUnFinishProjects();
	
	Project findProjectById(int projectId);

	void deleteProject(Integer projectId);

	void updateMemberNum(Integer projectId,Integer member);

	List<Project> findProjectByIds(List<Integer> list1);

	void addProjectDesc(Integer projectId, String projectDesc);

}
